package no.hasj.exercises;

import java.util.Scanner;

public class ExerciseTwo {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Car[] cars = new Car[3];
		
		for (int i = 0; i < cars.length; i++) {
			cars[i] = new Car("lisencePlate"+i, 4);
		}
		
		System.out.println(cars[0].getLisencePlate());
		
		
		Scanner tastatur = new Scanner(System.in);
		boolean run = true;
		
		while (run) {
			int number = tastatur.nextInt();
			if (number < 0) {
				run = false;
			} else {
				//din kode
			}
		}
	}

}
